package stringBuilder;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String regex="(wqnmlgb|dsb|cnm|nc|nmsl|wrsndm|djb)";
        String message="wrsndm!你个dsb,你个nc!,你个djb!";
        message=message.replaceAll(regex,"******");
        System.out.println(message);
    }
}
